home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.arch.arithmetic,comp.lang.c,comp.lang.c++
- Subject: Re: Access carry flag from C
- Date: 27 Feb 1996 03:27:43 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Feb26202743@qcd.lanl.gov>
- References: <Dn1C9z.DGv.0.net@indra.com> <1996Feb1922.17.19.879@koobera.math.uic.edu>
- <31298D20.41C6@bazis.nl> <danpop.824859220@rscernix>
- <312AFACE.41C6@bazis.nl> <TANMOY.96Feb21081640@qcd.lanl.gov>
- <312D8414.167E@bazis.nl> <TANMOY.96Feb23101510@qcd.lanl.gov>
- <313178D5.41C6@bazis.nl>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: Franz Korntner's message of Mon, 26 Feb 1996 09:09:41 GMT
-
- In article <313178D5.41C6@bazis.nl>
- Franz Korntner <fkorntne@bazis.nl> writes:
- <snip>
- FK: As I said, I don't have a copy of the standard at the moment (My
- FK: company is large, and I cant find the only copy). but the following
- FK:
- FK: > The values given below shall be replaced by constant expressions
- ^^^^^^^^^^^^^^^^^^^^
- This thread is going on for too long ... What do you think the
- highlighted text means?
-
- FK: > ... Their implementation-defined values shall be greater
- in magnitude
- FK: > (absolute value) to those shown, with the same sign.
- FK:
- FK: does imply that the implementation defined values (the plysical
- limit) shall
- FK: be greater than the shown constants. thus INT_MAX is a minimal limit as the
-
- It is certainly true that the implementation defined value can be
- larger than the shown constant. But in that case the actual value "shall
- be replaced by" the appropriate limit. What is so difficult about that?
-
- FK: implementation defined maximum can (and according to the above-
- will be) larger
-
- Sorry, I misquoted in a hurry: it should read `equal or
- greater'.
-
- FK: than the constant. Right ?!?
-
- Yes, the implementation defined value will be equal or greater than the
- constant shown. So, will INT_MAX. The implementation defined value is
- INT_MAX, so INT_MAX (which is greater than or equal to the value shown
- in the standard) _always_ defines the implementation limit.
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-